import http from '@/utils/request';

// 获取商品列表
export const getPage = (params: object) => {
	return http.request({
		method: 'GET',
		url: '/product/app/goodsspu/page',
		params,
		custom: {
			skipToken: true,
		},
	});
};
// 通过id查询商品
export const getById = (id: string) => {
	return http.request({
		method: 'GET',
		url: '/product/app/goodsspu/' + id,
	});
};
